package com.googlecode.stew_faces.component;

import javax.faces.component.FacesComponent;
import javax.faces.component.UINamingContainer;

@FacesComponent("com.googlecode.stew_faces.component.ContentPaneComponent")
public class ContentPaneComponent extends UINamingContainer {
	enum PropertyKeys {
		title, style, styleClass
	};

	public void setTitle(String paramValue) {
		getStateHelper().put(PropertyKeys.title, paramValue);
	}

	public String getTitle() {
		return (String) getStateHelper().eval(PropertyKeys.title, " ");
	}

	public void setStyle(String paramValue) {
		getStateHelper().put(PropertyKeys.style, paramValue);
	}

	public String getStyle() {
		return (String) getStateHelper().eval(PropertyKeys.style, " ");
	}

	public void setStyleClass(String paramValue) {
		getStateHelper().put(PropertyKeys.styleClass, paramValue);
	}

	public String getStyleClass() {
		return (String) getStateHelper().eval(PropertyKeys.styleClass, " ");
	}

}
